﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace JobDescOnline.Presentation.Models
{
    public static class LevelCompetencyModel
    {
        public static JobDescDBEntities1 db = new JobDescDBEntities1();
        public static SelectList LevelCompetencyID(int CompetencyID)
        {
            return new SelectList(db.LevelCompetencies.Where(d => d.Rowstatus == true && d.CompetencyID == CompetencyID), "ID", "Level");
        }
    }
}